package cn.iocoder.yudao.module.alipay.convert.surname;

import java.util.*;

import cn.iocoder.yudao.framework.common.pojo.PageResult;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import cn.iocoder.yudao.module.alipay.controller.admin.surname.vo.*;
import cn.iocoder.yudao.module.alipay.dal.dataobject.surname.SurnameDO;

/**
 * 姓氏 Convert
 *
 * @author 芋道源码
 */
@Mapper
public interface SurnameConvert {

    SurnameConvert INSTANCE = Mappers.getMapper(SurnameConvert.class);

    SurnameDO convert(SurnameCreateReqVO bean);

    SurnameDO convert(SurnameUpdateReqVO bean);

    SurnameRespVO convert(SurnameDO bean);

    List<SurnameRespVO> convertList(List<SurnameDO> list);

    PageResult<SurnameRespVO> convertPage(PageResult<SurnameDO> page);

    List<SurnameExcelVO> convertList02(List<SurnameDO> list);

}
